-
Home
-
Smartling Connector
-
2.5.1
-
Code
-
Classes
- WidgetHelper
Total Complexity |
49 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
378 |
Lines of code |
172 |
Logical lines of code |
83 |
Comment lines |
107 |
Methods |
29 |
Properties |
5 |
Methods 29
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
write() |
S |
59 |
5 |
14 |
placeWidgetToBar() |
S |
58 |
4 |
16 |
read() |
S |
63 |
4 |
10 |
writeSidebarsWidgets() |
S |
62 |
3 |
11 |
tryFixSmartlingId() |
S |
65 |
3 |
9 |
getWpWidget() |
S |
63 |
2 |
11 |
getWidget() |
S |
67 |
2 |
8 |
cleanBarFromWidget() |
S |
68 |
2 |
7 |
getPk() |
S |
72 |
2 |
5 |
getSettings() |
S |
80 |
2 |
3 |
getSideBarWidgets() |
S |
74 |
2 |
4 |
getWidgetId() |
S |
78 |
1 |
3 |
__construct() |
S |
77 |
1 |
4 |
readSidebarsWidgetsTotal() |
S |
80 |
1 |
3 |
writeSidebarsWidgetsTotal() |
S |
80 |
1 |
3 |
fromArray() |
S |
67 |
1 |
7 |
setSideBarPosition() |
S |
81 |
1 |
3 |
generateSmartlingId() |
S |
67 |
1 |
8 |
getSideBarPosition() |
S |
82 |
1 |
3 |
setSideBar() |
S |
81 |
1 |
3 |
getSideBar() |
S |
82 |
1 |
3 |
parseWidgetId() |
S |
69 |
1 |
6 |
setSettings() |
S |
81 |
1 |
3 |
setIndex() |
S |
81 |
1 |
3 |
getIndex() |
S |
82 |
1 |
3 |
setType() |
S |
81 |
1 |
3 |
getType() |
S |
82 |
1 |
3 |
getOptionName() |
S |
79 |
1 |
3 |
toArray() |
S |
64 |
1 |
10 |